Xbasic
INDEX.FLAGS_GET Function
Syntax
Flags as C = Flags_Get()
Description
Gets the index flags.
Discussion
The .FLAGS_GET() method returns the index flags for the index referenced by the object pointer, . Flag is a string of characters. If the index is in descending order, Flag will include "D". If the index contains only unique key values, Flag will include "U".
Example
Finds the flags of the first tag in the production index file.
dim tbl as P dim tag as C dim indx as P dim flag as C tbl = table.current() tag = tbl.index_name_get(1) indx = tbl.index_primary_put(tag) flag = indx.flags_get()
See Also